﻿package com.csd.excelreader;

public class CellConfigInfo 
{

	/**
	 * 类型指定，错误
	 */
	public static final int CELL_TYPE_ERR = -1;
	
	/**
	 * 类型指定，空白
	 */
	public static final int CELL_TYPE_EMPTY = 0;
	
	/**
	 * 类型指定，布尔类型
	 */
	public static final int CELL_TYPE_BOOL = 1;
	
	/**
	 * 类型指定，数字类型
	 */
	public static final int CELL_TYPE_NUM = 2;
	
	/**
	 * 类型指定，字符串
	 */
	public static final int CELL_TYPE_STR = 3;
	
	/**
	 * 类型指定，日期
	 */
	public static final int CELL_TYPE_DATE = 4;
	
	
	/**
	 * @return the cellType
	 */
	public int getCellType() {
		return cellType;
	}


	/**
	 * @param cellType the cellType to set
	 */
	protected void setCellType(int cellType) {
		this.cellType = cellType;
	}


	/**
	 * 保存当前的类型
	 */
	protected int cellType = 0;
	
	/**
	 * 列序号
	 */
	protected int clumIndex = 0;


	/**
	 * @return the clumIndex
	 */
	public int getClumIndex() {
		return clumIndex;
	}


	/**
	 * @param clumIndex the clumIndex to set
	 */
	public void setClumIndex(int clumIndex) {
		this.clumIndex = clumIndex;
	}
	
	/**
	 * @return the emptyEnable
	 */
	public boolean isEmptyEnable() {
		return emptyEnable;
	}


	/**
	 * @param emptyEnable the emptyEnable to set
	 */
	public void setEmptyEnable(boolean emptyEnable) {
		this.emptyEnable = emptyEnable;
	}


	private boolean emptyEnable = false;
}
